<?php
/* @var $this WinnerController */
/* @var $model Winner */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
)); ?>

	<table>
		<tr>
			<td width="15%"><?php echo $form->label($model,'id'); ?></td>
			<td width="35%"><?php echo $form->textField($model,'id'); ?></td>
			
			<td width="15%"><?php echo $form->label($model,'customer_name'); ?></td>
			<td width="35%"><?php echo $form->textField($model,'customer_name'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'referralCount'); ?></td>
			<td><?php echo $form->textField($model,'referralCount'); ?></td>
			<td><?php echo $form->label($model,'prize'); ?></td>
			<td><?php echo $form->textField($model,'prize'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'rank'); ?></td>
			<td colspan="3"><?php echo $form->textField($model,'rank'); ?></td>
		</tr>
	</table>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->